//
//  AboutTableViewCell.m
//  LightControl
//
//  Created by CKF on 2025/8/8.
//

#import "AboutTableViewCell.h"

@implementation AboutTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
       
        _titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(20, 15, KScreenWidth-40, 22)];
        [self.contentView addSubview:_titleLabel];
        _titleLabel.font = [UIFont systemFontOfSize:17];
        _titleLabel.textColor = RGB(79, 117, 121);
        
        _detailLabel =  [[UILabel alloc]initWithFrame:CGRectMake(20, 45, KScreenWidth-40, 17)];
        [self.contentView addSubview:_detailLabel];
        _detailLabel.font = [UIFont systemFontOfSize:14];
        _detailLabel.textColor = RGB(17, 17, 17);
        
        _phoneLabel =  [[UILabel alloc]initWithFrame:CGRectMake(20, 62, KScreenWidth-40, 17)];
        [self.contentView addSubview:_phoneLabel];
        _phoneLabel.font = [UIFont systemFontOfSize:14];
        _phoneLabel.textColor = RGB(17, 17, 17);
    }
    return self;
}

@end
